package server;


public class Casella {

	/** 
	 * @uml.property name="mappa"
	 * @uml.associationEnd multiplicity="(1 1)" inverse="casella:server.Mappa"
	 * @uml.association name="contiene"
	 */
	private Mappa mappa = new server.Mappa();

	/** 
	 * Getter of the property <tt>mappa</tt>
	 * @return  Returns the mappa.
	 * @uml.property  name="mappa"
	 */
	public Mappa getMappa() {
		return mappa;
	}

	/** 
	 * Setter of the property <tt>mappa</tt>
	 * @param mappa  The mappa to set.
	 * @uml.property  name="mappa"
	 */
	public void setMappa(Mappa mappa) {
		this.mappa = mappa;
	}

	/**
	 * @uml.property  name="posX"
	 */
	private int posX;

	/**
	 * Getter of the property <tt>posX</tt>
	 * @return  Returns the posX.
	 * @uml.property  name="posX"
	 */
	public int getPosX() {
		return posX;
	}

	/**
	 * Setter of the property <tt>posX</tt>
	 * @param posX  The posX to set.
	 * @uml.property  name="posX"
	 */
	public void setPosX(int posX) {
		this.posX = posX;
	}

	/**
	 * @uml.property  name="posY"
	 */
	private int posY;

	/**
	 * Getter of the property <tt>posY</tt>
	 * @return  Returns the posY.
	 * @uml.property  name="posY"
	 */
	public int getPosY() {
		return posY;
	}

	/**
	 * Setter of the property <tt>posY</tt>
	 * @param posY  The posY to set.
	 * @uml.property  name="posY"
	 */
	public void setPosY(int posY) {
		this.posY = posY;
	}

	/**
		 */
		public boolean calpestabile(){
			return false;	
		}

		/** 
		 * @uml.property name="tipo"
		 */
		private int tipo;

		/** 
		 * Getter of the property <tt>acqua</tt>
		 * @return  Returns the acqua.
		 * @uml.property  name="tipo"
		 */
		public int getTipo() {
			return tipo;
		}

		/** 
		 * Setter of the property <tt>acqua</tt>
		 * @param acqua  The acqua to set.
		 * @uml.property  name="tipo"
		 */
		public void setTipo(int tipo) {
			this.tipo = tipo;
		}

			
			/**
			 */
			public void aggiornaCibo(){
			}

				
				/**
				 */
				public void consumaCibo(){
				}

				/** 
				 * @uml.property name="cibo"
				 * @uml.associationEnd aggregation="composite" inverse="casella:server.Cibo"
				 * @uml.association name="contiene"
				 */
				private Cibo cibo;

				/** 
				 * Getter of the property <tt>cibo</tt>
				 * @return  Returns the cibo.
				 * @uml.property  name="cibo"
				 */
				public Cibo getCibo() {
					return cibo;
				}

				/** 
				 * Setter of the property <tt>cibo</tt>
				 * @param cibo  The cibo to set.
				 * @uml.property  name="cibo"
				 */
				public void setCibo(Cibo cibo) {
					this.cibo = cibo;
				}

}
